public static void main(String[] args) {
	int n=10;
	int a=peach(n);
	System.out.println(a);
}
public static int peach(int a) {
	if (a==1) {
		return 1;
	} else {
		return (peach(a-1)+1)*2;
	}
}
